http2_headers
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Fri, 9 Feb 2018 13:40:07 +0000 (13:40 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 9 Feb 2018 13:40:07 +0000 (13:40 +0000)
Gbp-Pq: Name http2_headers.diff

src/network/access/qhttp2protocolhandler.cpp

index 44ab637da88ee2cf425235439f55e0b5ac9fc7e0..1a3eb1a03f51a82f4289c2ffaf7c272b6f196c27 100644 (file)
@@ -1053,7 +1053,7 @@ void QHttp2ProtocolHandler::updateStream(Stream &stream, const HPack::HttpHeader
             QByteArray binder(", ");
             if (name == "set-cookie")
                 binder = "\n";
-            httpReply->setHeaderField(name, value.replace('\0', binder));
+            httpReplyPrivate->fields.append(qMakePair(name, value.replace('\0', binder)));
         }
     }